<template>
  <div class="xtx-member-aside">
    <div class="user-manage">
      <h4>常见问题</h4>
      <div class="links">
        <RouterLink to="/help" exact-active-class="active">购物问题</RouterLink>
        <RouterLink to="/help" exact-class="active">积分使用问题</RouterLink>
        <RouterLink to="/help" exact-class="active">发票问题</RouterLink>
        <RouterLink to="/help" exact-class="active">邀请好友帮助说明</RouterLink>
        <RouterLink to="/help" exact-class="active">优惠券使用说明</RouterLink>
        <a href="javascript:;">礼品卡使用说明</a>
        <RouterLink to="/help" exact-class="active">商品评价说明</RouterLink>
        <a href="javascript:;">优乐会员介绍</a>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'XtxMemberAside'
}
</script>

<style lang="less" scoped>
.xtx-member-aside {
  width: 220px;
  margin-right: 20px;
  border-radius: 2px;
  .user-manage {
    background-color: #fff;
    h4 {
      font-size: 18px;
      font-weight: 400;
      padding: 20px 52px 5px;
      border-top: 1px solid #f6f6f6;
    }

    .links {
      padding: 0 52px 10px;
    }

    a {
      display: block;
      line-height: 1;
      padding: 15px 0;
      font-size: 14px;
      color: #666;
      position: relative;

      &:hover{
        color: @xtxColor;
      }
      &.active {
        color: @xtxColor;

        &:before {
          display: block;
        }
      }

      &:before {
        content: "";
        display: none;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        position: absolute;
        top: 19px;
        left: -16px;
        background-color: @xtxColor;
      }
    }
  }
}
</style>
